
const app = require('express')()
const mongoExpress = require('mongo-express/lib/middleware')
const mongoExpressConfig = require('./mongo-express-config')

app.use('/', mongoExpress(mongoExpressConfig))

app.listen(3001, function () {
    console.log('mongo-express is running at port 3001')
})